package src.com.doit.Demo06;

public class YanZi implements Fly {
    @Override
    public void open() {
        System.out.println("张开翅膀起飞!");
    }

    @Override
    public void fly() {
        System.out.println("飞行中");
    }

    @Override
    public void close() {
        System.out.println("合上翅膀,降落");
    }
}
